package guoanmaker.operator.business.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.jpa.repository.JpaSpecificationExecutor;
import org.springframework.data.jpa.repository.Query;
import org.springframework.data.repository.query.Param;

import guoanmaker.operator.business.model.OperatorComplain;

public interface OperatorComplainRepository extends JpaRepository<OperatorComplain, String>, JpaSpecificationExecutor<OperatorComplain>{
	@Query("select u from OperatorComplain u  where u.id=:id")
 public List<OperatorComplain> findByComplains(@Param("id") String id);
}
